﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 采购原材料
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-17 
    /// </summary>
    [Table("WFORM_PROCUREMENTMATERIAL")]
    public class ProcurementMaterialEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主键
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        [Column("F_APPLYUSER")]
        public string ApplyUser { get; set; }
        /// <summary>
        /// 申请部门
        /// </summary>
        [Column("F_DEPARTMENTAL")]
        public string Departmental { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        [Column("F_APPLYDATE")]
        public DateTime? ApplyDate { get; set; }
        /// <summary>
        /// 采购单位
        /// </summary>
        [Column("F_PURCHASEUNIT")]
        public string PurchaseUnit { get; set; }
        /// <summary>
        /// 送货方式
        /// </summary>
        [Column("F_DELIVERYMODE")]
        public string DeliveryMode { get; set; }
        /// <summary>
        /// 送货地址
        /// </summary>
        [Column("F_DELIVERYADDRESS")]
        public string DeliveryAddress { get; set; }
        /// <summary>
        /// 付款方式
        /// </summary>
        [Column("F_PAYMENTMETHOD")]
        public string PaymentMethod { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        [Column("F_PAYMENTMONEY")]
        public decimal? PaymentMoney { get; set; }
        /// <summary>
        /// 相关附件
        /// </summary>
        [Column("F_FILEJSON")]
        public string FileJson { get; set; }
        /// <summary>
        /// 用途原因
        /// </summary>
        [Column("F_REASON")]
        public string Reason { get; set; }
    }
}